<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/jsplib/pubhead.jsp"%>
<%@ page import="net.comm.common.ValueMaping" %>
<%@ taglib uri="/WEB-INF/myTaglib.tld" prefix="tag"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${myfn:getMsg("NOTADV_TYPE",theForm.qryNtype)}列表</title>
<link href="${cpath}/css/youlin.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<!--外套 start -->
<div class="wrap">
  <!--页首 start -->
	<%@ include file="/menu.jsp"%>
  <!--页首 end -->  
  
  <!--导航面包屑 start -->
  <div class="breadCrumb">
  <div class="breadCrumbNav">当前位置：<a href="${cpath}/users.do?action=main">我的主页</a> >> <a >${myfn:getMsg("NOTADV_TYPE",theForm.qryNtype)}列表</a></div>
	<%@ include file="/navf.jsp"%>
 </div> 
  <!--导航面包屑 end -->
  
  <!--主体 start -->
 <div class="body">
 
  <div class="hotBox1">  
    <div class="hotBox1-left">
      <img src="${cpath}/images/img5.jpg" width="75" height="75"  class="shequ icon user_icon_2"/>
      
        <p class="f16"><b>${myfn:getMsg("NOTADV_SORT",theForm.qryNsort)}${myfn:getMsg("NOTADV_TYPE",theForm.qryNtype)}列表</b></p>
		<p class="lineColor1">
		<c:if test="${theForm.qryNsort ==  1}">
		发布方：<a href="${cpath}/yewei.do?action=home&yeweiID=${theForm.qryNsortID}" >${myfn:getMsg("NOTADV_SORT",theForm.qryNsort)}</a>
		</c:if>
		<c:if test="${theForm.qryNsort ==  2}">
		发布方：<a href="${cpath}/wuye.do?action=home&wuyeID=${theForm.qryNsortID}" >${myfn:getMsg("NOTADV_SORT",theForm.qryNsort)}</a>
		</c:if>
		<c:if test="${theForm.qryNsort ==  4}">
		发布方：<a href="${cpath}/shenqing_faq/1_1.html" >${myfn:getMsg("NOTADV_SORT",theForm.qryNsort)}</a>
		</c:if>	
		</p>
        <p>全部${myfn:getMsg("NOTADV_TYPE",theForm.qryNtype)}有[${theForm.page.totalNum}]篇</p>
      </div>
    <div class="hotBox1-right">
      <p class="lineColor1">&nbsp;</p>
      <!--<p><a href="#"><img src="${cpath}/images/icon_29.gif" width="215" height="48" /></a></p> -->   
    </div>
  </div> 
   
<div class="left-Box6">
  <h3>${myfn:getMsg("NOTADV_TYPE",theForm.qryNtype)}列表</h3>
  <div class="left-Box6-content">
   <form action="${cpath}/notadv.do" name="theForm"  method="post" enctype="multipart/form-data" >
   <div class="left-Box6-content-inner">
	<table class="noticeList_tbl"width="95%"  align="center" cellpadding="0" cellspacing="0">
          <tr class="top">
            <td width="5%" align="center">序号</td>
            <td width="50%">标题</td>
            <td width="8%">回复</td>
            <td width="10%">浏览</td>
            <td width="13%">发布会员</td>
            <td width="14%" align="center">最后回复</td>
          </tr>
		  <c:forEach var="notadv" items="${notadvlist}" varStatus="status">   
		  <tr>
            <td width="5%" align="center">${status.count}</td>
            <td width="50%"><a href="${cpath}/notadv.do?action=detail&qrySeqID=${notadv.seqID}"><c:out value="${notadv.title}"></c:out></a></td>
            <td width="8%"><c:out value="${notadv.replycnt}"></c:out></td>
            <td width="10%"><c:out value="${notadv.attachcnt}"></c:out></td>
            <td width="13%"><a href="${cpath}/users_home/userID_${notadv.userID}.html"><img src="${cpath}/${myfn:getUserPic(notadv.userID)}" width="20" height="20">&nbsp;${myfn:getUserNick(notadv.userID)}</a></td>
            <td width="14%" align="center">${myfn:formatDate14(notadv.mtime, "-")}</td>
          </tr>
		  </c:forEach>
        </table>
    </div>
    <div class="page">
			<input type="hidden" name='qrySeqID'		value='${theForm.qrySeqID}'/>
			<input type="hidden" name='qryNsort'		value='${theForm.qryNsort}'/>
			<input type="hidden" name='qryNtype'		value='${theForm.qryNtype}'/>
			<input type="hidden" name='qryVillageID'	value='${theForm.qryVillageID}'/>
			<input type="hidden" name='qryNsortID'		value='${theForm.qryNsortID}'/>
			<input type="hidden" name='qryContent'		value='${theForm.qryContent}'/>
			<!-- 分页主键 formName字段当前的form名称 -->
			<%@ include file="/jsplib/page.jsp" %>
			<!--隐藏域-->
			<input type="hidden" name='action' value='list'/>
    </div>
	<div class="clearFloat"></div>
	</form>

  </div>
</div>
  
    <div class="clearFloat"></div>
 </div> 
 <!--主体 end -->
 
 
 <!--页脚 start -->
	<%@ include file="/foot.jsp"%>
 <!--页脚 end --> 
</div>
<!--外套 end -->
</body>
</html>
<script>
    /**
     * 检查项目资料维护
     */
	function doConfirm()
	{
		var form = document.theForm;
		var action = form['action'];
		form.submit();
	}
</script>